# Настройки для pre-commits
default_language_version:
  python: python3.11

repos:
  - repo: local
    hooks:
      - id: isort
        name: isort
        entry: poetry run isort tests/
        language: system
        types: [ python ]
        require_serial: true

      - id: black
        name: black
        entry: poetry run black tests/
        language: system
        types: [ python ]
        require_serial: true

      - id: flake8
        name: flake8
        entry: poetry run flake8 tests/
        language: system
        types: [ python ]
        require_serial: true
